﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Ser_LaundryCollection : List<Ser_Laundry>
    { 
         public int IndexOf(Ser_Laundry item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Ser_Laundry item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Ser_Laundry this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Ser_Laundry item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Ser_Laundry item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Ser_Laundry[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Ser_Laundry item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Ser_Laundry> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Ser_Laundry
    {
        private int _IdLaundry;

        public int IdLaundry
        {
            get { return _IdLaundry; }
            set { _IdLaundry = value; }
        }
        private string _LaundryCode;

        public string LaundryCode
        {
            get { return _LaundryCode; }
            set { _LaundryCode = value; }
        }
        private string _LaundryName;

        public string LaundryName
        {
            get { return _LaundryName; }
            set { _LaundryName = value; }
        }
        private double _Price;

        public double Price
        {
            get { return _Price; }
            set { _Price = value; }
        }
        private DateTime _CreateDate;

        public DateTime CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
    }
}
